package com.dkd.manage.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dkd.manage.mapper.ZcglDsjZcps2Mapper;
import com.dkd.manage.domain.ZcglDsjZcps2;
import com.dkd.manage.service.IZcglDsjZcps2Service;

/**
 * 数据表二Service业务层处理
 * 
 * @author ITfuck
 * @date 2025-02-15
 */
@Service
public class ZcglDsjZcps2ServiceImpl implements IZcglDsjZcps2Service 
{
    @Autowired
    private ZcglDsjZcps2Mapper zcglDsjZcps2Mapper;

    /**
     * 查询数据表二
     * 
     * @param XZQYDM 数据表二主键
     * @return 数据表二
     */
    @Override
    public ZcglDsjZcps2 selectZcglDsjZcps2ByXZQYDM(String XZQYDM)
    {
        return zcglDsjZcps2Mapper.selectZcglDsjZcps2ByXZQYDM(XZQYDM);
    }

    /**
     * 查询数据表二列表
     * 
     * @param zcglDsjZcps2 数据表二
     * @return 数据表二
     */
    @Override
    public List<ZcglDsjZcps2> selectZcglDsjZcps2List(ZcglDsjZcps2 zcglDsjZcps2)
    {
        return zcglDsjZcps2Mapper.selectZcglDsjZcps2List(zcglDsjZcps2);
    }

    /**
     * 新增数据表二
     * 
     * @param zcglDsjZcps2 数据表二
     * @return 结果
     */
    @Override
    public int insertZcglDsjZcps2(ZcglDsjZcps2 zcglDsjZcps2)
    {
        return zcglDsjZcps2Mapper.insertZcglDsjZcps2(zcglDsjZcps2);
    }

    /**
     * 修改数据表二
     * 
     * @param zcglDsjZcps2 数据表二
     * @return 结果
     */
    @Override
    public int updateZcglDsjZcps2(ZcglDsjZcps2 zcglDsjZcps2)
    {
        return zcglDsjZcps2Mapper.updateZcglDsjZcps2(zcglDsjZcps2);
    }

    /**
     * 批量删除数据表二
     * 
     * @param XZQYDMs 需要删除的数据表二主键
     * @return 结果
     */
    @Override
    public int deleteZcglDsjZcps2ByXZQYDMs(String[] XZQYDMs)
    {
        return zcglDsjZcps2Mapper.deleteZcglDsjZcps2ByXZQYDMs(XZQYDMs);
    }

    /**
     * 删除数据表二信息
     * 
     * @param XZQYDM 数据表二主键
     * @return 结果
     */
    @Override
    public int deleteZcglDsjZcps2ByXZQYDM(String XZQYDM)
    {
        return zcglDsjZcps2Mapper.deleteZcglDsjZcps2ByXZQYDM(XZQYDM);
    }
}
